package com.cn.pojo;
 
import java.io.Serializable;
import java.util.Date;
/**
 * 评论表
 * @author Administrator
 *  
 */
public class Qc_discuss implements Serializable {
  
	/**
	 * 
	 */
	private static final long serialVersionUID = 8068146443470608665L;
	private int d_id;
	private String d_content;
	private Date d_date;
	private int d_explain;
	private int d_traffic;
	private int d_hotel;
	private int d_food;
	private Qc_user qc_user;
	private Qc_shop qc_shop;

	public Qc_discuss() {
	}
	/**
	 * 不带ID的有参构造
	 * @param d_content 评论内容
	 * @param d_date 评论时间
	 * @param d_explain 导游点评
	 * @param d_traffic 交通点评
	 * @param d_hotel 住宿点评
	 * @param d_food 餐饮点评
	 * @param qc_user 外键用户表(用户对象)
	 * @param qc_shop 外键商品变(商品对象)
	 */
	public Qc_discuss(String d_content, Date d_date, int d_explain, int d_traffic, int d_hotel, int d_food,
			Qc_user qc_user, Qc_shop qc_shop) {
		this.d_content = d_content;
		this.d_date = d_date;
		this.d_explain = d_explain;
		this.d_traffic = d_traffic;
		this.d_hotel = d_hotel;
		this.d_food = d_food;
		this.qc_user = qc_user;
		this.qc_shop = qc_shop;
	}
	/**
	 * 带ID的有参构造
	 * @param d_id 编号
	 * @param d_content 评论内容
	 * @param d_date 评论时间
	 * @param d_explain 导游点评
	 * @param d_traffic 交通点评
	 * @param d_hotel 住宿点评
	 * @param d_food 餐饮点评
	 * @param qc_user 外键用户表(用户对象)
	 * @param qc_shop 外键商品变(商品对象)
	 */
	public Qc_discuss(int d_id, String d_content, Date d_date, int d_explain, int d_traffic, int d_hotel, int d_food,
			Qc_user qc_user, Qc_shop qc_shop) {
		this.d_id = d_id;
		this.d_content = d_content;
		this.d_date = d_date;
		this.d_explain = d_explain;
		this.d_traffic = d_traffic;
		this.d_hotel = d_hotel;
		this.d_food = d_food;
		this.qc_user = qc_user;
		this.qc_shop = qc_shop;
	}
	/**
	 * 编号
	 * @return
	 */
	public int getD_id() {
		return d_id;
	}
	/**
	 * 编号
	 * @param d_id
	 */
	public void setD_id(int d_id) {
		this.d_id = d_id;
	}
	/**
	 * 评论内容
	 * @return
	 */
	public String getD_content() {
		return d_content;
	}
	/**
	 * 评论内容
	 * @param d_content
	 */
	public void setD_content(String d_content) {
		this.d_content = d_content;
	}
	/**
	 * 评论时间
	 * @return
	 */
	public Date getD_date() {
		return d_date;
	}
	/**
	 * 评论时间
	 * @param d_date
	 */
	public void setD_date(Date d_date) {
		this.d_date = d_date;
	}
	/**
	 * 导游点评
	 * @return
	 */
	public int getD_explain() {
		return d_explain;
	}
	/**
	 * 导游点评
	 * @param d_explain
	 */
	public void setD_explain(int d_explain) {
		this.d_explain = d_explain;
	}
	/**
	 * 交通点评
	 * @return
	 */
	public int getD_traffic() {
		return d_traffic;
	}
	/**
	 * 交通点评
	 * @param d_traffic
	 */
	public void setD_traffic(int d_traffic) {
		this.d_traffic = d_traffic;
	}
	/**
	 * 住宿点评
	 * @return
	 */
	public int getD_hotel() {
		return d_hotel;
	}
	/**
	 * 住宿点评
	 * @param d_hotel
	 */
	public void setD_hotel(int d_hotel) {
		this.d_hotel = d_hotel;
	}
	/**
	 * 餐饮点评
	 * @return
	 */
	public int getD_food() {
		return d_food;
	}
	/**
	 * 餐饮点评
	 * @param d_food
	 */
	public void setD_food(int d_food) {
		this.d_food = d_food;
	}
	/**
	 * 用户对象
	 * @return
	 */
	public Qc_user getQc_user() {
		return qc_user;
	}
	/**
	 * 用户对象
	 * @param qc_user
	 */
	public void setQc_user(Qc_user qc_user) {
		this.qc_user = qc_user;
	}
	/**
	 * 商品对象
	 * @return
	 */
	public Qc_shop getQc_shop() {
		return qc_shop;
	}
	/**
	 * 商品对象
	 * @param qc_shop
	 */
	public void setQc_shop(Qc_shop qc_shop) {
		this.qc_shop = qc_shop;
	}
}
